hist
{graphics}
Plot a simple histogram
aes
{GGPLOT2}
Construct aesthetic mapping of a ggplot graph
setwd
{base}
Set Working Directory
var
{stats}
Calculate variance
factor
{base}
Create a factor
geom_histogram
{GGPLOT2}
Generates a histogram
head
{utils}
Show first 5 rows of a data frame
labs
{GGPLOT2}
Customise labels in GGPLOT2
recode
{dplyr}
Recode a variable
min
{base}
Get minimum of a vector
levels
{base}
Get levels of a factor
range
{base}
Return range of values
scale_x_continuous
{GGPLOT2}
Customise continuous x axis
max
{base}
Get maximum of a vector
arrange
{dplyr}
Sort values of data frame according to a variable/combination of varaibles
ggplot
{GGPLOT2}
Create a ggplot graph
theme_classic
{GGPLOT2}
A minimalistic theme with no gridlines
c
{base}
Combine values/vectors into a vector
str
{utils}
Get the structure of an R object
summary
{base}
Obtain summary statistics or detailed regression output
select
{dplyr}
Select columns from a tibble/data frame
seq
{base}
Create a sequence
filter
{dplyr}
Filter out rows of a data frame according to logical vector
median
{stats}
Get median of a vector
mutate
{dplyr}
Modify/create a column in a data frame
cut
{base}
Convert Numeric to Factor
sum
{base}
Get sum of numeric values or a vector
mean
{base}
Get mean of a vector
desc
{dplyr}
Arrange in descending order
read_excel
{readxl}
Read an Excel file
summarise
{dplyr}
collapse the dataset to a summary statistic. Usually used with group_by()
group_by
{dplyr}
Group tibble/data.frame by a factor variable. All further tidyverse operations are performed group-wise
names
{base}
Retrieve names of a list/vector
boxplot
{graphics}
Plot a simple box plot
library
{base}
Load an R package
sd
{stats}
Get standard deviation of a vector
ifelse
{base}
Return a or b depending on the value of test
ungroup
{dplyr}
Resolve grouping created with “group_by”
slice
{dplyr}
Subset rows using their positions
The end!